<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>demo5模板语法-html模板</title>
  <script src="./js/vue.min.js"></script>

</head>

<!--html模板方式<div v-html="message">-->
<body>
   <div id="app">
     <div v-html="message"></div>
   </div>
   <script type="application/javascript">
     var vm = new Vue({
       el: "#app",
       data: {
         message: "<h1>菜鸟教程</h1>"
       }
     });


   </script>
</body>

</html>
